#
# Be sure to run `pod lib lint MirrorRealm.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MirrorRealmSwift'
  s.version          = '0.2.0'
  s.summary          = 'MirrorRealmSwift can export the RealmSwift to swift as a framework module.'
  s.swift_version    = '5.0'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: MirrorRealmSwift can export the RealmSwift to swift as a framework module.
                       DESC

  s.homepage         = 'https://gitee.com/tjerwinchen/mirror-realm'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Theo Chen' => 'me@theochen.com' }
  s.source           = { :git => 'https://gitee.com/tjerwinchen/mirror-realm.git', :tag => 'RealmSwift-' + s.version.to_s }
  # s.social_media_url = 'https://twitter.com/theochen'

  s.ios.deployment_target = '10.0'

  s.cocoapods_version = '>= 1.8.0'
  s.static_framework = false
  s.prefix_header_file = false
  
  s.source_files = 'Mirror/RealmSwift/*.swift'
  s.exclude_files = 'Mirror/RealmSwift/Nonsync.swift'
  
  s.preserve_paths = [
    'Mirror/RealmSwift/README.md',
    'Mirror/RealmSwift/CHANGELOG.md'
  ]

   # s.resource_bundles = {
   #   'MirrorRealmSwift' => ['Mirror/RealmSwift/Assets/*.bundle']
   # }

  # s.public_header_files = [
  #   'Mirror/RealmSwift/Classes/**/*.h',
  # ]
  # s.frameworks = 'UIKit', 'MapKit'
  # s.framework = "Security"

  s.dependency 'MirrorRealm', '~> 0.2.0'
  
end
